#include "map.h"
#include "set.h"
void testmap()
{
	June::map<int, int> m;
	m.insert(make_pair(1, 1));
	m.insert(make_pair(35, 1));
	m.insert(make_pair(6, 1));
	m.insert(make_pair(76, 1));
	m.insert(make_pair(63, 1));
	m.insert(make_pair(3, 1));
	June::map<int, int>::iterator it = m.begin();
	while (it != m.end())
	{
		cout << it->first << ":"<<it->second<<endl;
		++it;
	}
	cout << endl;
}
void testset()
{
	June::set<int> s;
	s.insert(1);
	s.insert(6);
	s.insert(32);
	s.insert(67);
	s.insert(3);
	s.insert(7);
	June::set<int>::iterator it = s.begin();
	while (it != s.end())
	{
		cout << *it << " ";
		++it;
	}
	cout << endl;


}
int main()
{
	testmap();
	testset();
	return 0;
}